.g6-component-topbar-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.g6-component-topbar-item {
  display: flex;
  align-items: center;
  padding: 0px 10px;
  line-height: 30px;
}

.g6-component-topbar-item > span {
  font-size: 14px;
  margin-right: 10px;
}

.ant-switch-small {
  width: 32px;
  background-color: #9ca2ac !important;
}

.ant-switch-checked {
  background-color: #4096ff !important;
}

/* 确保下拉选择器在无数据时保持美观 */
.ant-select-selection-placeholder {
  color: #666;
  text-align: center;
}

/* 优化空状态下拉项样式 */
.ant-select-item-option-disabled {
  color: #999;
  text-align: center;
  font-size: 12px;
  background-color: #fafafa;
}

/* 自定义选择器样式 */
.ant-select:not(.ant-select-disabled) .ant-select-selector {
  background-color: #fff;
  border-color: #d9d9d9;
}

.ant-select:not(.ant-select-disabled):hover .ant-select-selector {
  border-color: #40a9ff;
}

.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}
